package com.headingdata.d1_polymorphism;

public class Test {

    public static void main(String[] args) {
        //目标：认识对象多态、行为多态

        People p1 = new Student();
        People p2 = new Teacher();
        p1.run();//编译看左边，执行看右边
        p2.run();
    }
}
